package com.tansun.easycare.rule.table.singletblindex.service;

import java.util.List;

import com.tansun.easycare.rule.common.service.RuleBaseService;
import com.tansun.easycare.rule.exception.BizException;
import com.tansun.easycare.rule.table.entity.RuleDecisiontableDetail;
import com.tansun.easycare.rule.table.singletblindex.model.SingleTblIndexEntity;
import com.tansun.easycare.rule.table.singletblindex.model.SingleTblIndexRow;

public interface SingleTblIndexService extends RuleBaseService<RuleDecisiontableDetail> {

    /**
     * 保存一维索引
     *
     * @param indexEntity 一维索引VO
     */
    void saveOrUpdate(SingleTblIndexEntity indexEntity) throws BizException;
    /**
     * 显示java代码
     * @param indexEntity
     * @throws BizException
     */
    String showJavaCode(SingleTblIndexEntity indexEntity) throws BizException;
    /**
     * 根据规则管理ID查找一维表信息
     *
     * @param indexId 规则管理ID
     */
    List<SingleTblIndexRow> findTblIndexRowList(String indexId, String version) throws BizException;
}
